#ifndef FTPUSHBUTTONICON_H
#define FTPUSHBUTTONICON_H

#include <QtGui>
#include "ftcontrols.h"

class FTPushButtonIcon : public QAbstractButton
{
    Q_OBJECT
public:
    explicit FTPushButtonIcon(QWidget *parent = 0);
    explicit FTPushButtonIcon(const QIcon&,
                              FTControls::IconSize s = FTControls::IconNormal,
                              QWidget *parent = 0);

    void paintEvent ( QPaintEvent * event );

    QSize sizeHint() const;
    QSize minimumSizeHint() const;

    void setIconSize( FTControls::IconSize );

private:
    void initialize();
};

#endif // FTPUSHBUTTONICON_H
